package com.sskj.spk.widget;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.MotionEvent;

public class KChartViewpager extends ViewPager {


    public KChartViewpager(@NonNull Context context) {
        super(context);
    }

    public KChartViewpager(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public boolean onInterceptTouchEvent(MotionEvent ev) {
        boolean b = false;
        try {
            b = super.onInterceptTouchEvent(ev);
        } catch (Exception e) {
            System.out.println("onInterceptTouchEvent" + e);
        }
        return b;
    }
}
